package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SOORDER 订单表
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-09
 */
public class Soorder extends Model<Soorder> {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键序号
	 */
	@TableId(type = IdType.INPUT)
	private Double ilineid;

	/**
	 * 订单编号
	 */
	private String vcorderno;

	/**
	 * 客户订单编号
	 */
	private String vccustorderno;

	/**
	 * 所属客户ID
	 */
	private Double icustomerid;

	/**
	 * 所属合同ID
	 */
	private Double icontractid;

	/**
	 * 所属作业点ID
	 */
	private Double iwarehouseid;

	/**
	 * 用户编号
	 */
	private String vcuserno;

	/**
	 * 录入时间
	 */
	private Date dtdate;

	/**
	 * 装货地址
	 */
	private String vcaddress;

	/**
	 * 联系人
	 */
	private String vccontact;

	/**
	 * 联系电话
	 */
	private String vctel;

	/**
	 * 收货地址
	 */
	private String vcaddress2;

	/**
	 * 收货联系人
	 */
	private String vccontact2;

	/**
	 * 收货联系电话
	 */
	private String vctel2;

	/**
	 * 起运地
	 */
	private String vcstartcity;

	/**
	 * 目的地
	 */
	private String vccityname;

	/**
	 * 要求起运日期
	 */
	private Date dtshipdate;

	/**
	 * 是否加急
	 */
	private Double burgent;

	/**
	 * 要求到达日期
	 */
	private Date dtcomedate;

	/**
	 * 货物类型编码
	 */
	private Double itype;

	/**
	 * 货物类型名称
	 */
	private String vctypename;

	/**
	 * 货物型号ID
	 */
	private Double istyleid;

	/**
	 * 货物型号说明
	 */
	private String vcstyleno;

	/**
	 * 货物详细说明
	 */
	private String vcitemdesc;

	/**
	 * 单位
	 */
	private String vcunit;

	/**
	 * 数量
	 */
	private Double dcqty;

	/**
	 * 已发数量
	 */
	private Double dcshipedqty;

	/**
	 * 发运要求
	 */
	private String vcrequire;

	/**
	 * 备注
	 */
	private String vcmemo;

	/**
	 * 支付方式(1:合同、2:现金)
	 */
	private Double ipayid;

	/**
	 * 现金金额
	 */
	private Double dcpay;

	/**
	 * 已收现金金额
	 */
	private Double dcpayed;

	/**
	 * 关联订单号
	 */
	private String vcglorderno;

	/**
	 * 标准公里数
	 */
	private Double dckilometer;

	/**
	 * 已分拆数
	 */
	private Double dcqty2;

	/**
	 * 父级订单ID
	 */
	private Double ipid;

	/**
	 * 真实订单ID
	 */
	private Double iorderid;

	/**
	 * 中转城市
	 */
	private String vctranscityname;

	/**
	 * 结算数量
	 */
	private Double dcjsqty;

	/**
	 * 单价
	 */
	private Double dcprice;

	/**
	 * 所属部门
	 */
	private Double ideptid;

	/**
	 * 已维护客户运单数量
	 */
	private Double dccustqty;

	/**
	 * 暂估公里(0,否，1:是)
	 */
	private Double ikilometerflag;

	/**
	 * 暂估单价(0,否，1:是)
	 */
	private Double ipriceflag;

	/**
	 * 调度指令序号(运量与实际结算数量不一样)
	 */
	private Double ishipid;

	/**
	 * 无效
	 */
	private Date dtdate2;

	/**
	 * 客户订单打印时间
	 */
	private Date dtcustorderprint;

	/**
	 * 创建时间
	 */
	private Date dtcreatedate;

	/**
	 * 司机收款
	 */
	private Double dccash1;

	/**
	 * 公司收款
	 */
	private Double dccash2;

	/**
	 * 现金收款状态(0:司机收款，1:公司收款)
	 */
	private Double ipayid2;

	/**
	 * 安联收入公里
	 */
	private Double dcalkilometer;

	/**
	 * 安联收入单价
	 */
	private Double dcalprice;

	/**
	 * 现金审核(0:未审核,1:已审核)
	 */
	private Double icheckid;

	/**
	 * 审核备注
	 */
	private String vccheckmemo;

	/**
	 * 审核人
	 */
	private String vccheckuserno;

	/**
	 * 审核标志(0:未审核,1:已审核)
	 */
	private Double ipassid;

	/**
	 * 有效标志(1:有效,0无效)
	 */
	private Double bactive;

	/**
	 * 是否生成提车单(0:否,1:是)
	 */
	private Double iflag;

	/**
	 * 车队序列号
	 */
	private Double ifleetid;

	/**
	 * 运输模式(1:人送,2:零公里)
	 */
	private Double imodeid;

	/**
	 * 底盘号
	 */
	private String vcvin;

	/**
	 * 提车点ID
	 */
	private Double igetpoint;

	/**
	 * 货运地ID
	 */
	private Double idestid;

	/**
	 * 经销商ID
	 */
	private Double idealerid;

	/**
	 * ${field.comment}
	 */
	private Double iimportid;

	/**
	 * ${field.comment}
	 */
	private Double icustmodeid;

	/**
	 * ${field.comment}
	 */
	@TableField(value="VCMOBILE_RECEIVER")
	private String vcmobileReceiver;

	/**
	 * ${field.comment}
	 */
	@TableField(value="BNEED_RECEIPT")
	private Integer bneedReceipt;

	/**
	 * ${field.comment}
	 */
	private String vcreceiveduty;

	/**
	 * ${field.comment}
	 */
	private Date dtrereceivedate;

	/**
	 * ${field.comment}
	 */
	@TableField(value="VCUPDATE_CUSER")
	private String vcupdateCuser;

	/**
	 * ${field.comment}
	 */
	@TableField(value="DTUPDATE_DATE")
	private Date dtupdateDate;

	/**
	 * ${field.comment}
	 */
	private Double iendpoint;

	/**
	 * ${field.comment}
	 */
	private Double iarcityid;

	/**
	 * ${field.comment}
	 */
	private String vcarcityname;

	/**
	 * 订单标记(0、不可调度；1、可调度)
	 */
	private Integer isdispatch;

	/**
	 * 慧运车订单编号
	 */
	private String hycwaybillcode;

	/**
	 * 数据来源
	 */
	private String dataresource;



	public Double getIlineid() {
		return ilineid;
	}

	public void setIlineid(Double ilineid) {
		this.ilineid = ilineid;
	}

	public String getVcorderno() {
		return vcorderno;
	}

	public void setVcorderno(String vcorderno) {
		this.vcorderno = vcorderno;
	}

	public String getVccustorderno() {
		return vccustorderno;
	}

	public void setVccustorderno(String vccustorderno) {
		this.vccustorderno = vccustorderno;
	}

	public Double getIcustomerid() {
		return icustomerid;
	}

	public void setIcustomerid(Double icustomerid) {
		this.icustomerid = icustomerid;
	}

	public Double getIcontractid() {
		return icontractid;
	}

	public void setIcontractid(Double icontractid) {
		this.icontractid = icontractid;
	}

	public Double getIwarehouseid() {
		return iwarehouseid;
	}

	public void setIwarehouseid(Double iwarehouseid) {
		this.iwarehouseid = iwarehouseid;
	}

	public String getVcuserno() {
		return vcuserno;
	}

	public void setVcuserno(String vcuserno) {
		this.vcuserno = vcuserno;
	}

	public Date getDtdate() {
		return dtdate;
	}

	public void setDtdate(Date dtdate) {
		this.dtdate = dtdate;
	}

	public String getVcaddress() {
		return vcaddress;
	}

	public void setVcaddress(String vcaddress) {
		this.vcaddress = vcaddress;
	}

	public String getVccontact() {
		return vccontact;
	}

	public void setVccontact(String vccontact) {
		this.vccontact = vccontact;
	}

	public String getVctel() {
		return vctel;
	}

	public void setVctel(String vctel) {
		this.vctel = vctel;
	}

	public String getVcaddress2() {
		return vcaddress2;
	}

	public void setVcaddress2(String vcaddress2) {
		this.vcaddress2 = vcaddress2;
	}

	public String getVccontact2() {
		return vccontact2;
	}

	public void setVccontact2(String vccontact2) {
		this.vccontact2 = vccontact2;
	}

	public String getVctel2() {
		return vctel2;
	}

	public void setVctel2(String vctel2) {
		this.vctel2 = vctel2;
	}

	public String getVcstartcity() {
		return vcstartcity;
	}

	public void setVcstartcity(String vcstartcity) {
		this.vcstartcity = vcstartcity;
	}

	public String getVccityname() {
		return vccityname;
	}

	public void setVccityname(String vccityname) {
		this.vccityname = vccityname;
	}

	public Date getDtshipdate() {
		return dtshipdate;
	}

	public void setDtshipdate(Date dtshipdate) {
		this.dtshipdate = dtshipdate;
	}

	public Double getBurgent() {
		return burgent;
	}

	public void setBurgent(Double burgent) {
		this.burgent = burgent;
	}

	public Date getDtcomedate() {
		return dtcomedate;
	}

	public void setDtcomedate(Date dtcomedate) {
		this.dtcomedate = dtcomedate;
	}

	public Double getItype() {
		return itype;
	}

	public void setItype(Double itype) {
		this.itype = itype;
	}

	public String getVctypename() {
		return vctypename;
	}

	public void setVctypename(String vctypename) {
		this.vctypename = vctypename;
	}

	public Double getIstyleid() {
		return istyleid;
	}

	public void setIstyleid(Double istyleid) {
		this.istyleid = istyleid;
	}

	public String getVcstyleno() {
		return vcstyleno;
	}

	public void setVcstyleno(String vcstyleno) {
		this.vcstyleno = vcstyleno;
	}

	public String getVcitemdesc() {
		return vcitemdesc;
	}

	public void setVcitemdesc(String vcitemdesc) {
		this.vcitemdesc = vcitemdesc;
	}

	public String getVcunit() {
		return vcunit;
	}

	public void setVcunit(String vcunit) {
		this.vcunit = vcunit;
	}

	public Double getDcqty() {
		return dcqty;
	}

	public void setDcqty(Double dcqty) {
		this.dcqty = dcqty;
	}

	public Double getDcshipedqty() {
		return dcshipedqty;
	}

	public void setDcshipedqty(Double dcshipedqty) {
		this.dcshipedqty = dcshipedqty;
	}

	public String getVcrequire() {
		return vcrequire;
	}

	public void setVcrequire(String vcrequire) {
		this.vcrequire = vcrequire;
	}

	public String getVcmemo() {
		return vcmemo;
	}

	public void setVcmemo(String vcmemo) {
		this.vcmemo = vcmemo;
	}

	public Double getIpayid() {
		return ipayid;
	}

	public void setIpayid(Double ipayid) {
		this.ipayid = ipayid;
	}

	public Double getDcpay() {
		return dcpay;
	}

	public void setDcpay(Double dcpay) {
		this.dcpay = dcpay;
	}

	public Double getDcpayed() {
		return dcpayed;
	}

	public void setDcpayed(Double dcpayed) {
		this.dcpayed = dcpayed;
	}

	public String getVcglorderno() {
		return vcglorderno;
	}

	public void setVcglorderno(String vcglorderno) {
		this.vcglorderno = vcglorderno;
	}

	public Double getDckilometer() {
		return dckilometer;
	}

	public void setDckilometer(Double dckilometer) {
		this.dckilometer = dckilometer;
	}

	public Double getDcqty2() {
		return dcqty2;
	}

	public void setDcqty2(Double dcqty2) {
		this.dcqty2 = dcqty2;
	}

	public Double getIpid() {
		return ipid;
	}

	public void setIpid(Double ipid) {
		this.ipid = ipid;
	}

	public Double getIorderid() {
		return iorderid;
	}

	public void setIorderid(Double iorderid) {
		this.iorderid = iorderid;
	}

	public String getVctranscityname() {
		return vctranscityname;
	}

	public void setVctranscityname(String vctranscityname) {
		this.vctranscityname = vctranscityname;
	}

	public Double getDcjsqty() {
		return dcjsqty;
	}

	public void setDcjsqty(Double dcjsqty) {
		this.dcjsqty = dcjsqty;
	}

	public Double getDcprice() {
		return dcprice;
	}

	public void setDcprice(Double dcprice) {
		this.dcprice = dcprice;
	}

	public Double getIdeptid() {
		return ideptid;
	}

	public void setIdeptid(Double ideptid) {
		this.ideptid = ideptid;
	}

	public Double getDccustqty() {
		return dccustqty;
	}

	public void setDccustqty(Double dccustqty) {
		this.dccustqty = dccustqty;
	}

	public Double getIkilometerflag() {
		return ikilometerflag;
	}

	public void setIkilometerflag(Double ikilometerflag) {
		this.ikilometerflag = ikilometerflag;
	}

	public Double getIpriceflag() {
		return ipriceflag;
	}

	public void setIpriceflag(Double ipriceflag) {
		this.ipriceflag = ipriceflag;
	}

	public Double getIshipid() {
		return ishipid;
	}

	public void setIshipid(Double ishipid) {
		this.ishipid = ishipid;
	}

	public Date getDtdate2() {
		return dtdate2;
	}

	public void setDtdate2(Date dtdate2) {
		this.dtdate2 = dtdate2;
	}

	public Date getDtcustorderprint() {
		return dtcustorderprint;
	}

	public void setDtcustorderprint(Date dtcustorderprint) {
		this.dtcustorderprint = dtcustorderprint;
	}

	public Date getDtcreatedate() {
		return dtcreatedate;
	}

	public void setDtcreatedate(Date dtcreatedate) {
		this.dtcreatedate = dtcreatedate;
	}

	public Double getDccash1() {
		return dccash1;
	}

	public void setDccash1(Double dccash1) {
		this.dccash1 = dccash1;
	}

	public Double getDccash2() {
		return dccash2;
	}

	public void setDccash2(Double dccash2) {
		this.dccash2 = dccash2;
	}

	public Double getIpayid2() {
		return ipayid2;
	}

	public void setIpayid2(Double ipayid2) {
		this.ipayid2 = ipayid2;
	}

	public Double getDcalkilometer() {
		return dcalkilometer;
	}

	public void setDcalkilometer(Double dcalkilometer) {
		this.dcalkilometer = dcalkilometer;
	}

	public Double getDcalprice() {
		return dcalprice;
	}

	public void setDcalprice(Double dcalprice) {
		this.dcalprice = dcalprice;
	}

	public Double getIcheckid() {
		return icheckid;
	}

	public void setIcheckid(Double icheckid) {
		this.icheckid = icheckid;
	}

	public String getVccheckmemo() {
		return vccheckmemo;
	}

	public void setVccheckmemo(String vccheckmemo) {
		this.vccheckmemo = vccheckmemo;
	}

	public String getVccheckuserno() {
		return vccheckuserno;
	}

	public void setVccheckuserno(String vccheckuserno) {
		this.vccheckuserno = vccheckuserno;
	}

	public Double getIpassid() {
		return ipassid;
	}

	public void setIpassid(Double ipassid) {
		this.ipassid = ipassid;
	}

	public Double getBactive() {
		return bactive;
	}

	public void setBactive(Double bactive) {
		this.bactive = bactive;
	}

	public Double getIflag() {
		return iflag;
	}

	public void setIflag(Double iflag) {
		this.iflag = iflag;
	}

	public Double getIfleetid() {
		return ifleetid;
	}

	public void setIfleetid(Double ifleetid) {
		this.ifleetid = ifleetid;
	}

	public Double getImodeid() {
		return imodeid;
	}

	public void setImodeid(Double imodeid) {
		this.imodeid = imodeid;
	}

	public String getVcvin() {
		return vcvin;
	}

	public void setVcvin(String vcvin) {
		this.vcvin = vcvin;
	}

	public Double getIgetpoint() {
		return igetpoint;
	}

	public void setIgetpoint(Double igetpoint) {
		this.igetpoint = igetpoint;
	}

	public Double getIdestid() {
		return idestid;
	}

	public void setIdestid(Double idestid) {
		this.idestid = idestid;
	}

	public Double getIdealerid() {
		return idealerid;
	}

	public void setIdealerid(Double idealerid) {
		this.idealerid = idealerid;
	}

	public Double getIimportid() {
		return iimportid;
	}

	public void setIimportid(Double iimportid) {
		this.iimportid = iimportid;
	}

	public Double getIcustmodeid() {
		return icustmodeid;
	}

	public void setIcustmodeid(Double icustmodeid) {
		this.icustmodeid = icustmodeid;
	}

	public String getVcmobileReceiver() {
		return vcmobileReceiver;
	}

	public void setVcmobileReceiver(String vcmobileReceiver) {
		this.vcmobileReceiver = vcmobileReceiver;
	}

	public Integer getBneedReceipt() {
		return bneedReceipt;
	}

	public void setBneedReceipt(Integer bneedReceipt) {
		this.bneedReceipt = bneedReceipt;
	}

	public String getVcreceiveduty() {
		return vcreceiveduty;
	}

	public void setVcreceiveduty(String vcreceiveduty) {
		this.vcreceiveduty = vcreceiveduty;
	}

	public Date getDtrereceivedate() {
		return dtrereceivedate;
	}

	public void setDtrereceivedate(Date dtrereceivedate) {
		this.dtrereceivedate = dtrereceivedate;
	}

	public String getVcupdateCuser() {
		return vcupdateCuser;
	}

	public void setVcupdateCuser(String vcupdateCuser) {
		this.vcupdateCuser = vcupdateCuser;
	}

	public Date getDtupdateDate() {
		return dtupdateDate;
	}

	public void setDtupdateDate(Date dtupdateDate) {
		this.dtupdateDate = dtupdateDate;
	}

	public Double getIendpoint() {
		return iendpoint;
	}

	public void setIendpoint(Double iendpoint) {
		this.iendpoint = iendpoint;
	}

	public Double getIarcityid() {
		return iarcityid;
	}

	public void setIarcityid(Double iarcityid) {
		this.iarcityid = iarcityid;
	}

	public String getVcarcityname() {
		return vcarcityname;
	}

	public void setVcarcityname(String vcarcityname) {
		this.vcarcityname = vcarcityname;
	}

	public Integer getIsdispatch() {
		return isdispatch;
	}

	public void setIsdispatch(Integer isdispatch) {
		this.isdispatch = isdispatch;
	}

	public String getHycwaybillcode() {
		return hycwaybillcode;
	}

	public void setHycwaybillcode(String hycwaybillcode) {
		this.hycwaybillcode = hycwaybillcode;
	}

	public String getDataresource() {
		return dataresource;
	}

	public void setDataresource(String dataresource) {
		this.dataresource = dataresource;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}
}
